/*
 * TOP SECRET Copyright 2006-2015 Transsion.com All right reserved. This software is the confidential and proprietary
 * information of Transsion.com ("Confidential Information"). You shall not disclose such Confidential Information and
 * shall use it only in accordance with the terms of the license agreement you entered into with Transsion.com.
 */
package com.yunji.framework_template.biz.crawler.in;

import java.util.HashMap;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yunji.framework_template.biz.crawler.ContentImageHandler;
import com.yunji.framework_template.biz.crawler.NewsContentImageCrawler;
import com.yunji.framework_template.common.enumeration.NewsType;

/**
 * ClassName:TimesOfIndiaNewsContentImageCrawler <br/>
 * Date: 2018年12月5日 上午11:08:22 <br/>
 * 
 * @author fenglibin1982@163.com
 * @Blog http://blog.csdn.net/fenglibing
 * @version
 * @see
 */
@Service
public class TimesOfIndiaNewsContentImageCrawler extends NewsContentImageCrawler {

    @Resource
    private TimesOfIndiaNewsContentImageHandler timesOfIndiaNewsContentImageHandler;

    @Override
    public Map<NewsType, ContentImageHandler> getContentImageHandleMap() {
        Map<NewsType, ContentImageHandler> map = new HashMap<NewsType, ContentImageHandler>();
        map.put(NewsType.HOT, timesOfIndiaNewsContentImageHandler);
        return map;
    }

}
